package com.ruoyi.log.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.log.mapper.ApproveLogMapper;
import com.ruoyi.log.domain.ApproveLog;
import com.ruoyi.log.service.IApproveLogService;

/**
 * 审批日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-02
 */
@Service
public class ApproveLogServiceImpl implements IApproveLogService 
{
    @Autowired
    private ApproveLogMapper t19Mapper;

    /**
     * 查询审批日志
     * 
     * @param F1901 审批日志主键
     * @return 审批日志
     */
    @Override
    public ApproveLog selectApproveLogByF1901(Long F1901)
    {
        return t19Mapper.selectApproveLogByF1901(F1901);
    }

    /**
     * 查询审批日志列表
     * 
     * @param t19 审批日志
     * @return 审批日志
     */
    @Override
    public List<ApproveLog> selectApproveLogList(ApproveLog t19)
    {
        return t19Mapper.selectApproveLogList(t19);
    }

    /**
     * 新增审批日志
     * 
     * @param t19 审批日志
     * @return 结果
     */
    @Override
    public int insertApproveLog(ApproveLog t19)
    {
        return t19Mapper.insertApproveLog(t19);
    }

    /**
     * 修改审批日志
     * 
     * @param t19 审批日志
     * @return 结果
     */
    @Override
    public int updateApproveLog(ApproveLog t19)
    {
        return t19Mapper.updateApproveLog(t19);
    }

    /**
     * 批量删除审批日志
     * 
     * @param F1901s 需要删除的审批日志主键
     * @return 结果
     */
    @Override
    public int deleteApproveLogByF1901s(Long[] F1901s)
    {
        return t19Mapper.deleteApproveLogByF1901s(F1901s);
    }

    /**
     * 删除审批日志信息
     * 
     * @param F1901 审批日志主键
     * @return 结果
     */
    @Override
    public int deleteApproveLogByF1901(Long F1901)
    {
        return t19Mapper.deleteApproveLogByF1901(F1901);
    }
}
